<!--# layout("/common/layout.html",{"jsBase":"/js/cms/extRecord/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">记录类型 REFERRAL 推荐好友  PAY 支付</label>
				<div class="layui-input-inline">
					<layui:simpleDictSelect style='layui-input-inline' type="push_type"
						id="recordtype" name="recordtype" value="${extRecord.recordtype}" layVerify="" />
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">主动订单号</label>
				<div class="layui-input-inline">
					<input type="text" id="aorderid" name="aorderid"  value="${extRecord.aorderid}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">被动订单号</label>
				<div class="layui-input-inline">
					<input type="text" id="porderid" name="porderid"  value="${extRecord.porderid}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">付款账号</label>
				<div class="layui-input-inline">
					<input type="text" id="putaccount" name="putaccount"  value="${extRecord.putaccount}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">收款账号</label>
				<div class="layui-input-inline">
					<input type="text" id="getaccount" name="getaccount"  value="${extRecord.getaccount}"  lay-verify="required" class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">课程价格</label>
				<div class="layui-input-inline">
					<input type="text" id="price" name="price"  value="${extRecord.price}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">交易状态(0初始状态 1通知成功 2通知失败 3已发送 4已确认)</label>
				<div class="layui-input-inline">
					<layui:simpleDictSelect style='layui-input-inline' type="record_state_type"
						id="state" name="state" value="${extRecord.state}" layVerify="" />
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createtime" name="createtime"  value="${extRecord.createtime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">创建人</label>
				<div class="layui-input-inline">
					<input type="text" id="createuser" name="createuser"  value="${extRecord.createuser}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">更新时间</label>
				<div class="layui-input-inline">
					<input type="text" id="updatetime" name="updatetime"  value="${extRecord.updatetime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">修改人</label>
				<div class="layui-input-inline">
					<input type="text" id="updateuser" name="updateuser"  value="${extRecord.updateuser}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value=${extRecord.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var extRecordEdit = layui.edit
    extRecordEdit.init();
});
</script>
